package dao;

import domain.User;

import java.util.List;

public interface UserDao {
    List<User> selectAllUsers();

    User selectUserByIdAndPassword(User user);

    User selectUserById(Integer id);

    int insertUser(User user);

    int updateUser(User user);

    int deleteUserById(Integer id);
}
